{extend name="admin/public:layout" /}
{block name="title"}领取流水{/block}
{block name="head"}{/block}
{block name="body"}
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="ibox">
        <div class="ibox-title">
            <ol class="breadcrumb">
                <li><i class="fa fa-hand-o-right"></i> <a href="{:url('receive')}"> 领取添加</a></li>
                <li class="active">领取流水</li>
            </ol>
        </div>
        <div class="ibox-content">
            <div class="toolbar">
                <div class="pull-left">
                </div>
                <div class="pull-right">
                </div>
                <div class="clearfix"></div>
            </div>
            <table class="table table-bordered">
                <thead>
                <tr>
                    <th width="50">#</th>
                    <th>领取人</th>
                    <th>领取时间</th>
                    <!--<th>icon</th>-->
                    <th width="200">操作</th>
                </tr>
                </thead>
                <tbody>
                {volist name="list" id="vo"}
                <tr>
                    <td>{$vo.log_id}</td>
                    <td>{$vo.member_name}</td>
                    <td>{$vo.create_time|date='Y-m-d H:i:s'}</td>
                    <!--<td>{$vo.receive_icon}</td>-->
                    <td>
                        <a  onclick="sendQrcode('{:url('/plus/Help/qrcode',['qtext'=>url('/circle/Public/memberCard',['member_id'=>$vo.member_id])])}')">查看领取人信息</a>
                    </td>
                </tr>
                {/volist}
                </tbody>
            </table>
        </div>
    </div>
</div>
{/block}
{block name="script"}
<script>
function sendQrcode(url) {
    var html='<img src="'+url+'"><br>请使用微信扫描查看用户信息';
    layer.open({
        type: 1,
        skin: 'layui-layer-rim', //加上边框
        area: ['420px', '240px'], //宽高
        content: html
    });
    }
</script>
{/block}